package com.ys.feign;

import com.ys.common.R;
import com.ys.pojo.TradeOrder;
import com.ys.pojo.TradeUserMoneyLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("shop-user")
public interface UserApi {
    @RequestMapping("/user/findUserById")
    R findUserById(@RequestBody TradeOrder order);


    @RequestMapping("/user/changeUserMoney")
    R changeUserMoney(TradeUserMoneyLog userMoneyLog);
}
